package com.logistics.team3.po;
// default package



/**
 *  路线配送点
 * WayDistribution entity. @author MyEclipse Persistence Tools
 */

public class WayDistribution  implements java.io.Serializable {


    // Fields    

     private String id;
     /**
      * 路线
      */
     private Way way;
     /**
      * 经过城市
      */
     private Distribution distribution;
     /**
      * 城市编号
      */
     private String code;


    // Constructors

    /** default constructor */
    public WayDistribution() {
    }

    
    /** full constructor */
    public WayDistribution(Way way, Distribution distribution, String code) {
        this.way = way;
        this.distribution = distribution;
        this.code = code;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public Way getWay() {
        return this.way;
    }
    
    public void setWay(Way way) {
        this.way = way;
    }

    public Distribution getDistribution() {
        return this.distribution;
    }
    
    public void setDistribution(Distribution distribution) {
        this.distribution = distribution;
    }

    public String getCode() {
        return this.code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
   
}